﻿<Window x:Class="Example.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="175" Width="350">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <GroupBox Header="Original" HorizontalAlignment="Stretch" Margin="5" VerticalAlignment="Stretch">
            <Grid>
                <TextBlock Height="23" HorizontalAlignment="Stretch" Margin="5,44,5,0" Text="{Binding TestOriginal.Test,UpdateSourceTrigger=PropertyChanged,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType=Window}}" VerticalAlignment="Top" />
                <TextBox Height="23" HorizontalAlignment="Stretch" Margin="5,16,5,0" Text="{Binding TestOriginal.Test,UpdateSourceTrigger=PropertyChanged,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType=Window}}" VerticalAlignment="Top" />
            </Grid>
        </GroupBox>
        <GroupBox Grid.Column="1" Header="Modified" HorizontalAlignment="Stretch" Margin="5" VerticalAlignment="Stretch">
            <Grid>
                <TextBlock Height="23" HorizontalAlignment="Stretch" Margin="5,44,5,0" Text="{Binding TestModified.Test,UpdateSourceTrigger=PropertyChanged,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType=Window}}" VerticalAlignment="Top" />
                <TextBox Height="23" HorizontalAlignment="Stretch" Margin="5,16,5,0" Text="{Binding TestModified.Test,UpdateSourceTrigger=PropertyChanged,RelativeSource={RelativeSource Mode=FindAncestor,AncestorType=Window}}" VerticalAlignment="Top" />
            </Grid>
        </GroupBox>
    </Grid>
</Window>
